Added missing munmap for live_p2m_frame_list_list.
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Mon, 9 Jan 2006 11:19:55 +0000 (11:19 +0000)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Mon, 9 Jan 2006 11:19:55 +0000 (11:19 +0000)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/libxc/xc_linux_save.c

index 1c32ed8a803311e46988e7ed8d8ab560af109254..7d7148bd442dfbdd2d5178fe43c95e0ff1a0d114 100644 (file)
@@ -1164,6 +1164,9 @@ int xc_linux_save(int xc_handle, int io_fd, uint32_t dom, uint32_t max_iters,
     if (live_shinfo)
         munmap(live_shinfo, PAGE_SIZE);
     
+    if (live_p2m_frame_list_list) 
+        munmap(live_p2m_frame_list_list, PAGE_SIZE); 
+
     if (live_p2m_frame_list) 
         munmap(live_p2m_frame_list, P2M_FLL_ENTRIES * PAGE_SIZE);